Open file dialog does not work
simonCor opened this issue · 2 comments
simonCor commented
simonCor commented
It seems, that the native open file dialog is broken. I can't really say if this is general problem of the rpi.
Here is a fix which deactivcates the native open dialog.
Here is an example:
QString fileName = QFileDialog::getOpenFileName(this, tr("Open"), m_lastFolder, tr("G-Code files (*.nc *.ncc *.ngc *.tap *.txt);;All files (*.*)"),nullptr,QFileDialog::DontUseNativeDialog);
The Flag QFileDialog::DontUseNativeDialog
is the key here. It has to be set everywhere where a file open or a file save dialog is used.
simonCor commented
I installed a raspian on a new sd card - there it works.
Seems like the old one had a strange config...