From 198dafa59078830a98d979d3ac1260ee5ac3e408 Mon Sep 17 00:00:00 2001 From: Norbert Moutarde Date: Wed, 3 Jun 2015 09:52:12 +0200 Subject: [PATCH] box to debug when button was deleted --- mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/mainwindow.cpp b/mainwindow.cpp index 5c1a7a5..44cef52 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -751,6 +751,7 @@ void MainWindow::editDB(const QString & a, const QString & b){ if((tmpkeyword=="")||(tmplabel=="")||(tmpaction=="")){ remove(a, keyword, label, action); + if(deb)QMessageBox::information(this, trUtf8("EditDB", "title of box to say a button was deleted"), trUtf8("button was deleted", "text to say button was deleted")); return; } exec(QList({conf->value(QString("update")+a).toString(), tmpkeyword, tmplabel, tmpaction, b})); -- 2.45.1