mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-05-28 21:00:20 +02:00
Special treatment of non-Quick Join worlds
Signed-off-by: Yihe Li <winmikedows@hotmail.com>
This commit is contained in:
parent
46c9eb1d5f
commit
3745bdb6f2
@ -71,6 +71,8 @@ CreateShortcutDialog::CreateShortcutDialog(InstancePtr instance, QWidget* parent
|
|||||||
ui->worldTarget->hide();
|
ui->worldTarget->hide();
|
||||||
ui->worldSelectionBox->hide();
|
ui->worldSelectionBox->hide();
|
||||||
ui->serverTarget->setChecked(true);
|
ui->serverTarget->setChecked(true);
|
||||||
|
ui->serverTarget->hide();
|
||||||
|
ui->serverLabel->show();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Populate save targets
|
// Populate save targets
|
||||||
|
@ -131,14 +131,21 @@
|
|||||||
</property>
|
</property>
|
||||||
<layout class="QGridLayout" name="targetOptionsGridLayout">
|
<layout class="QGridLayout" name="targetOptionsGridLayout">
|
||||||
<item row="0" column="0">
|
<item row="0" column="0">
|
||||||
<widget class="QRadioButton" name="worldTarget">
|
<layout class="QVBoxLayout" name="worldOverlap">
|
||||||
<property name="text">
|
<property name="spacing">
|
||||||
<string>World:</string>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<attribute name="buttonGroup">
|
<item>
|
||||||
<string notr="true">targetBtnGroup</string>
|
<widget class="QRadioButton" name="worldTarget">
|
||||||
</attribute>
|
<property name="text">
|
||||||
</widget>
|
<string>World:</string>
|
||||||
|
</property>
|
||||||
|
<attribute name="buttonGroup">
|
||||||
|
<string notr="true">targetBtnGroup</string>
|
||||||
|
</attribute>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
<item row="0" column="1">
|
<item row="0" column="1">
|
||||||
<widget class="QComboBox" name="worldSelectionBox">
|
<widget class="QComboBox" name="worldSelectionBox">
|
||||||
@ -151,14 +158,31 @@
|
|||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="1" column="0">
|
<item row="1" column="0">
|
||||||
<widget class="QRadioButton" name="serverTarget">
|
<layout class="QVBoxLayout" name="serverOverlap">
|
||||||
<property name="text">
|
<property name="spacing">
|
||||||
<string>Server Address:</string>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<attribute name="buttonGroup">
|
<item>
|
||||||
<string notr="true">targetBtnGroup</string>
|
<widget class="QRadioButton" name="serverTarget">
|
||||||
</attribute>
|
<property name="text">
|
||||||
</widget>
|
<string>Server Address:</string>
|
||||||
|
</property>
|
||||||
|
<attribute name="buttonGroup">
|
||||||
|
<string notr="true">targetBtnGroup</string>
|
||||||
|
</attribute>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="serverLabel">
|
||||||
|
<property name="visible">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Server Address:</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
<item row="1" column="1">
|
<item row="1" column="1">
|
||||||
<widget class="QLineEdit" name="serverAddressBox">
|
<widget class="QLineEdit" name="serverAddressBox">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user