NOTE* : The file I am talking about in step 1# is commonly something like "electrum.dat" or "default_wallet" would be the name of the file. It can usually be found in %APPDATA%/Roaming/Electrum/wallets/ if you're on Windows.
1. open the file using a text editor
2. look for an area (maybe use find function) that says
'seed': '<some long string of letters and numbers ending in equal signs>',
3. take the string of letters and numbers between the ' ' single quotations. and copy it somewhere readily available. (don't worry, those letters are encrypted, so you won't be too compromised)
4. open Electrum 1.9.8 and click on the console tab.
5. in the console type
then hit Enter.
6. type in console
from electrum import wallet
then hit Enter
7. Let's say your encryped seed was abcdefg== and your password was d0gecoin
Then, type in
wallet.pw_decode('abcdefg==', 'd0gecoin')
8. if the password is correct, the next line will give you a string of 32 HEX characters (0-9, A-F) between single quotes. THIS IS YOUR UNENCRYPTED SEED! BE CAREFUL WITH THIS INFORMATION, IT WILL RESTORE YOUR WALLET FOR ANYONE WHO SEES IT!
Note for 8: If the password is wrong, it will say "Exception Invalid Password"... pressing up arrow key will re-insert the last command so you won't have to re-type too much besides the password. Also, the console won't hide your password and you will be typing it in plaintext onto the console. Be sure to do this in private.
9. Now you have your HEX based seed. Click "New Wallet" in File menu, then choose second option "Restore from seed", then in the seed box paste your 32 characters HEX seed with NO QUOTATIONS. and hit next.
10. You have now restored your bitcoins.
1QCjHCCaifSFDMqR4KWDAfowZJiiqi7m7U
Here's a tip address if this helped.
Edit: btw if it was me, after doing all this stuff I might just make a NEW wallet and send all my bitcoins there and make a different password for the new wallet... your unencrypted seed was just all over your monitor and stuff, so it might be safer to make a new wallet.