mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-05-27 20:30: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->worldSelectionBox->hide();
|
||||
ui->serverTarget->setChecked(true);
|
||||
ui->serverTarget->hide();
|
||||
ui->serverLabel->show();
|
||||
}
|
||||
|
||||
// Populate save targets
|
||||
|
@ -131,14 +131,21 @@
|
||||
</property>
|
||||
<layout class="QGridLayout" name="targetOptionsGridLayout">
|
||||
<item row="0" column="0">
|
||||
<widget class="QRadioButton" name="worldTarget">
|
||||
<property name="text">
|
||||
<string>World:</string>
|
||||
<layout class="QVBoxLayout" name="worldOverlap">
|
||||
<property name="spacing">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<attribute name="buttonGroup">
|
||||
<string notr="true">targetBtnGroup</string>
|
||||
</attribute>
|
||||
</widget>
|
||||
<item>
|
||||
<widget class="QRadioButton" name="worldTarget">
|
||||
<property name="text">
|
||||
<string>World:</string>
|
||||
</property>
|
||||
<attribute name="buttonGroup">
|
||||
<string notr="true">targetBtnGroup</string>
|
||||
</attribute>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item row="0" column="1">
|
||||
<widget class="QComboBox" name="worldSelectionBox">
|
||||
@ -151,14 +158,31 @@
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QRadioButton" name="serverTarget">
|
||||
<property name="text">
|
||||
<string>Server Address:</string>
|
||||
<layout class="QVBoxLayout" name="serverOverlap">
|
||||
<property name="spacing">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<attribute name="buttonGroup">
|
||||
<string notr="true">targetBtnGroup</string>
|
||||
</attribute>
|
||||
</widget>
|
||||
<item>
|
||||
<widget class="QRadioButton" name="serverTarget">
|
||||
<property name="text">
|
||||
<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 row="1" column="1">
|
||||
<widget class="QLineEdit" name="serverAddressBox">
|
||||
|
Loading…
x
Reference in New Issue
Block a user