PixelPaint: Rename CreateNewGuideDialog to EditGuideDialog

This doesn't change the behavior at all but sets the naming up be more
descriptive on what it does in the next patches.
This commit is contained in:
Tobias Christiansen 2021-08-31 18:09:09 +02:00 committed by Andreas Kling
commit abcb982485
Notes: sideshowbarker 2024-07-18 04:58:24 +09:00
5 changed files with 13 additions and 12 deletions

View file

@ -4,9 +4,9 @@
* SPDX-License-Identifier: BSD-2-Clause
*/
#include "CreateNewGuideDialog.h"
#include "CreateNewImageDialog.h"
#include "CreateNewLayerDialog.h"
#include "EditGuideDialog.h"
#include "FilterParams.h"
#include "Guide.h"
#include "Image.h"
@ -371,7 +371,7 @@ int main(int argc, char** argv)
auto add_guide_action = GUI::Action::create(
"Add Guide", [&](auto&) {
auto dialog = PixelPaint::CreateNewGuideDialog::construct(window);
auto dialog = PixelPaint::EditGuideDialog::construct(window);
if (dialog->exec() == GUI::Dialog::ExecOK) {
if (auto* editor = current_image_editor()) {
auto specified_offset = dialog->offset();