Commit 30c8c12d authored by Arjen Hiemstra's avatar Arjen Hiemstra
Browse files

sketch: Fix the save page and reduce the number of errors/warnings

parent 786c5d4b
......@@ -169,6 +169,9 @@ Page {
Connections {
target: sketchView;
onFloatingMessageRequested: {
if(!message)
return;
if(message.startsWith("Zoom") || message.startsWith("Rotation"))
return;
......
......@@ -17,7 +17,7 @@
*/
import QtQuick 1.1
import org.krita.sketch 1.0 as Krita
import org.krita.sketch 1.0
import org.krita.sketch.components 1.0
Page {
......@@ -222,7 +222,7 @@ Page {
Dialog {
id: confirmOverwrite;
title: "File already exists";
message: "A file with the name %1 already exists in this folder. Do you wish to overwrite?".arg(fileNameField.text).arg(fileType.model.get(fileType.currentIndex).type);
message: "A file with the name %1.%2 already exists in this folder. Do you wish to overwrite?".arg(fileNameField.text).arg(fileType.model.get(fileType.currentIndex).type);
buttons: [ "Overwrite", "Cancel" ];
onButtonClicked: {
switch(button) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment