mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Improve wording on buttons when editing a dive
Use the more familiar Save/Undo instead of OK/reset Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									46171036f1
								
							
						
					
					
						commit
						6fa670e612
					
				
					 2 changed files with 3 additions and 3 deletions
				
			
		|  | @ -315,7 +315,7 @@ void MainTab::on_editAccept_clicked(bool edit) | ||||||
| 	mainWindow()->dive_list()->setEnabled(!edit); | 	mainWindow()->dive_list()->setEnabled(!edit); | ||||||
| 
 | 
 | ||||||
| 	if (edit) { | 	if (edit) { | ||||||
| 		ui->diveNotesMessage->setText(tr("This dive is being edited. click on finish / reset when ready.")); | 		ui->diveNotesMessage->setText(tr("This dive is being edited. Select Save or Undo when ready.")); | ||||||
| 		ui->diveNotesMessage->animatedShow(); | 		ui->diveNotesMessage->animatedShow(); | ||||||
| 		notesBackup.buddy = ui->buddy->text(); | 		notesBackup.buddy = ui->buddy->text(); | ||||||
| 		notesBackup.suit = ui->suit->text(); | 		notesBackup.suit = ui->suit->text(); | ||||||
|  |  | ||||||
|  | @ -122,14 +122,14 @@ | ||||||
|     <item row="10" column="1"> |     <item row="10" column="1"> | ||||||
|      <widget class="QPushButton" name="editReset"> |      <widget class="QPushButton" name="editReset"> | ||||||
|       <property name="text"> |       <property name="text"> | ||||||
|        <string>reset</string> |        <string>Undo</string> | ||||||
|       </property> |       </property> | ||||||
|      </widget> |      </widget> | ||||||
|     </item> |     </item> | ||||||
|     <item row="10" column="0"> |     <item row="10" column="0"> | ||||||
|      <widget class="QPushButton" name="editAccept"> |      <widget class="QPushButton" name="editAccept"> | ||||||
|       <property name="text"> |       <property name="text"> | ||||||
|        <string>OK</string> |        <string>Save</string> | ||||||
|       </property> |       </property> | ||||||
|       <property name="checkable"> |       <property name="checkable"> | ||||||
|        <bool>true</bool> |        <bool>true</bool> | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue