Review Request 108872: Use correct Yes/No items in "could not find editor" dialog.

Miha Čančula miha at noughmad.eu
Sat Feb 9 10:21:22 UTC 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/108872/
-----------------------------------------------------------

Review request for KDevelop.


Description
-------

When KDevelop cannot find a editor for a file, it asks whether to open it as plain text. However, clicking "No" causes it to be openend, while "Yes" cancels the whole thing. This is caused because the arguments to KMessageBox::questionYesNo() are passed in the wrong order. 

I just switched the order, so Yes means yes and No means no. However, it might be better to use full verbs ("Open as plain text", "Don't open") instead. 

This should also be backported into 1.5. 


Diffs
-----

  shell/documentcontroller.cpp 62fab2e 

Diff: http://git.reviewboard.kde.org/r/108872/diff/


Testing
-------

Tested locally, it's really a small change. 


Thanks,

Miha Čančula

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20130209/ff4d6b17/attachment.html>


More information about the KDevelop-devel mailing list