mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Make the URL dialog contain QLineEdit
as otherwise pressing RETURN does unexpected things. Signed-off-by: Robert C. Helling <helling@atdotde.de>
This commit is contained in:
		
							parent
							
								
									0f58510ce0
								
							
						
					
					
						commit
						db17adfb28
					
				
					 3 changed files with 3 additions and 2 deletions
				
			
		|  | @ -412,7 +412,7 @@ URLDialog::URLDialog(QWidget *parent) : QDialog(parent) | |||
| 
 | ||||
| QString URLDialog::url() const | ||||
| { | ||||
| 	return ui.urlField->toPlainText(); | ||||
| 	return ui.urlField->text(); | ||||
| } | ||||
| 
 | ||||
| bool isGnome3Session() | ||||
|  |  | |||
|  | @ -8,6 +8,7 @@ class QNetworkReply; | |||
| #include <QWidget> | ||||
| #include <QGroupBox> | ||||
| #include <QDialog> | ||||
| #include <QTextEdit> | ||||
| #include <stdint.h> | ||||
| 
 | ||||
| #include "ui_renumber.h" | ||||
|  |  | |||
|  | @ -29,7 +29,7 @@ | |||
|     <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> | ||||
|    </property> | ||||
|   </widget> | ||||
|   <widget class="QPlainTextEdit" name="urlField"> | ||||
|   <widget class="QLineEdit" name="urlField"> | ||||
|    <property name="geometry"> | ||||
|     <rect> | ||||
|      <x>10</x> | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue