1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:37:37 +00:00

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
parent b3e3e4d45d
commit abcb982485
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();