Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 6f5f23f3 authored by Nikita Sirgienko's avatar Nikita Sirgienko Committed by Albert Astals Cid

Fix incapacity open *.cws files

Summary: File filter was incorrect (there wasn't space between '.cws' and '|' symbol), and didn't recognizing `*.cws` files, so there weren't possibility for users to open any saved files, if they could not specify the file name directly (availability of this feature depends of the particular 'Open File' dialog window).

Test Plan:
1) Write some worksheet (for example, with lua backend)
2) Save as worksheet with file extention `.cws` (for example `foo.cws`)
3) Try to open, using 'Open File' dialog.

Reviewers: #cantor, asemke

Reviewed By: #cantor, asemke

Subscribers: aacid, #cantor, #kde_edu

Tags: #kde_edu, #cantor

Differential Revision:
parent f9b6c2e9
......@@ -175,7 +175,7 @@ void CantorShell::fileOpen()
// this slot is called whenever the File->Open menu is selected,
// the Open shortcut is pressed (usually CTRL+O) or the Open toolbar
// button is clicked
QUrl url = QFileDialog::getOpenFileUrl(this, i18n("Open file"), QUrl(), i18n("*.cws|Cantor Worksheet"));
QUrl url = QFileDialog::getOpenFileUrl(this, i18n("Open file"), QUrl(), i18n("Cantor Worksheet (*.cws)"));
if (url.isEmpty() == false)
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