]> git.nothing2do.fr Git - diary-mobile.git/commitdiff
box to debug when button was deleted
authorNorbert Moutarde <norbert.moutarde@nothing2do.eu>
Wed, 3 Jun 2015 07:52:12 +0000 (09:52 +0200)
committerNorbert Moutarde <norbert.moutarde@nothing2do.eu>
Wed, 3 Jun 2015 07:52:12 +0000 (09:52 +0200)
mainwindow.cpp

index 5c1a7a5f96ae4639757d712b94abc5e32676866b..44cef52af1c47d696f165f8efe2de3ce54ae7b12 100644 (file)
@@ -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<QString>({conf->value(QString("update")+a).toString(), tmpkeyword, tmplabel, tmpaction, b}));