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).
Details
Details
- Reviewers
asemke - Group Reviewers
Cantor - Commits
- R55:6f5f23f369af: Fix incapacity open *.cws files
- Write some worksheet (for example, with lua backend)
- Save as worksheet with file extention .cws (for example foo.cws)
- Try to open, using 'Open File' dialog.
Diff Detail
Diff Detail
- Repository
- R55 Cantor
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Comment Actions
This doesn't seem the correct way to set the filter either, at least not according to http://doc.qt.io/qt-5/qfiledialog.html#getOpenFileName ?
Comment Actions
Sorry, what do you mean?
I were thinking about changing filter to "Cantor Worksheet (*.cws)" (it's work), like 'http://doc.qt.io/qt-5/qfiledialog.html#getOpenFileName', but there were reasons to create filter as "*.cws|Cantor Worksheet", aren't it?
So, i have decided only fix bug with bad filtering and don't change filter too much.
Comment Actions
Yes, it's the old way to declare the filter in kdelibs4 code, this is a kdelibs4->qt5 porting bug
So, i have decided only fix bug with bad filtering and don't change filter too much.