Skip to content

Commit

Permalink
:) #22 file path
Browse files Browse the repository at this point in the history
  • Loading branch information
Mercury13 committed May 7, 2022
1 parent 1614c8e commit 1253d4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions UTranslator/FmMain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -618,6 +618,7 @@ void FmMain::loadObject(tr::UiObject& obj)
if (auto fi = obj.ownFileInfo()) {
ui->stackOriginal->setCurrentWidget(ui->pageFile);
ui->chkIdless->setChecked(fi->isIdless);
ui->edFilePath->setPlaceholderText(ui->edId->text());
ui->edFilePath->setText(str::toQ(fi->origPath.wstring()));
bool canAddFiles = project->info.canAddFiles();
ui->pageFile->setEnabled(canAddFiles);
Expand Down
2 changes: 1 addition & 1 deletion UTranslator/FmMain.ui
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ QLabel {
<item>
<widget class="QLabel" name="lbRealPath">
<property name="text">
<string>File’s real path</string>
<string>File’s name/path</string>
</property>
</widget>
</item>
Expand Down

0 comments on commit 1253d4a

Please sign in to comment.