mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-10-03 19:14:40 -04:00
GH-2219 fix crash and bad view scaling in Java VersionSelectDialog
This commit is contained in:
1 parent
c9832d0d86
commit
3406335cd8
3 files changed
+7
-2
No files matched your search
@@ -101,13 +101,17 @@ void VersionSelectDialog::setEmptyErrorString(QString emptyErrorString)
|
||||
|
||||
void VersionSelectDialog::setResizeOn(int column)
|
||||
{
|
||||
m_versionWidget->setResizeOn(column);
|
||||
resizeOnColumn = column;
|
||||
}
|
||||
|
||||
int VersionSelectDialog::exec()
|
||||
{
|
||||
QDialog::open();
|
||||
m_versionWidget->initialize(m_vlist);
|
||||
if(resizeOnColumn != -1)
|
||||
{
|
||||
m_versionWidget->setResizeOn(resizeOnColumn);
|
||||
}
|
||||
return QDialog::exec();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user