File: increase-tabheight.patch

package info (click to toggle)
keepass2 2.57%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 14,520 kB
  • sloc: cs: 120,930; xml: 6,271; cpp: 322; sh: 53; makefile: 42
file content (25 lines) | stat: -rw-r--r-- 887 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From: Julian Taylor <jtaylor.debian@googlemail.com>
Date: Thu, 22 Jun 2017 07:35:29 +0200
Subject: increase tabheight

Increase tabheight further to workaround crash when changing database
tabs.
Bug-Ubuntu: https://bugs.launchpad.net/bugs/1659159
Bug: https://sourceforge.net/p/keepass/bugs/1634
---
 KeePass/Forms/MainForm.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/KeePass/Forms/MainForm.cs b/KeePass/Forms/MainForm.cs
index 98d5a4a..afbe6dc 100644
--- a/KeePass/Forms/MainForm.cs
+++ b/KeePass/Forms/MainForm.cs
@@ -117,7 +117,7 @@ namespace KeePass.Forms
 
 			if(!Program.DesignMode)
 			{
-				if(MonoWorkarounds.IsRequired(891029)) m_tabMain.Height += 5;
+				if(MonoWorkarounds.IsRequired(891029)) m_tabMain.Height += 10;
 
 				SuspendLayoutScope sls = new SuspendLayoutScope(false,
 					m_menuMain, m_ctxGroupList, m_ctxPwList, m_ctxTray);