Skip to content

Commit

Permalink
Merge pull request #87 from NekoSilverFox/MengJianing
Browse files Browse the repository at this point in the history
Update Shortcuts
  • Loading branch information
nekosilverfox authored Dec 8, 2022
2 parents 9202571 + afb9ff1 commit a8cf276
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion PolyChatApp/chatboxwidget.ui
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
</size>
</property>
<property name="shortcut">
<string>Ctrl+C</string>
<string>Ctrl+B</string>
</property>
<property name="checkable">
<bool>true</bool>
Expand Down Expand Up @@ -270,6 +270,9 @@
<height>20</height>
</size>
</property>
<property name="shortcut">
<string>Ctrl+Shift+C</string>
</property>
</widget>
</item>
</layout>
Expand Down Expand Up @@ -327,6 +330,9 @@
<property name="text">
<string>Exit</string>
</property>
<property name="shortcut">
<string>Ctrl+Shift+Esc</string>
</property>
</widget>
</item>
<item>
Expand Down
2 changes: 1 addition & 1 deletion PolyChatApp/uil_chatboxwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ ChatBoxWidget::ChatBoxWidget(QWidget* parent, QString name, qint16 port)
QString path = QFileDialog::getSaveFileName(this, "Save file", "PolyChat-MsgLog", "(*.txt)");
if (path.isEmpty())
{
QMessageBox::warning(this, "Warning", "Path can not be empty");
QMessageBox::warning(this, "Warning", "Save cancel");
return;
}

Expand Down

0 comments on commit a8cf276

Please sign in to comment.